<template>
  <div class="clouddesktop">
    <div class="top df">
      <div class="left">
        <div class="div1">
          上传规则:支持的文件类型与限制:支持的文件格式:.xlsx和.csv;文件大小需控制在1MB以内;敏感信息的数量不得超过50条;文件下载有效期限:24小时.
        </div>
        <div class="div2">
          联系支持:如在操作过程中遇到任何疑问或需要帮助请及时联系:汪吴辰
        </div>
      </div>
      <div class="right">进入云桌面</div>
    </div>
    <div class="clouddesktoprecord df">
      <div class="div1"></div>
      <div class="name">备注：上传文件仅会保存24小时，请及时下</div>
      <div class="number">25条</div>
      <div class="batchdown">批量下载</div>
    </div>
    <!-- 下载列表 -->
    <div class="clouddeskdownlist nodrag">
      <div class="title df">
        <div class="div1"></div>
        <div class="div2">文件名称</div>
        <div class="div3">操作</div>
      </div>
      <div class="warplist">
        <div
          class="title df"
          v-for="(itme, index) in list"
          :key="index"
          :class="index % 2 === 0 ? 'title1' : 'title2'"
        >
          <div class="div1"></div>
          <div class="div2">ADOBE PHOTOSHOP4</div>
          <div class="div3">下载</div>
        </div>
      </div>
    </div>
  </div>
</template>
      
<script>
export default {
  data() {
    return {
      list: [1, 2, 3, 4, 5, 9, 1, 2, 3, 4, 5, 9],
    };
  },
  created() {
    this.fetchData();
  },
  methods: {
    async fetchData() {
      try {
        const response = await this.$axios.get("goods/queryGoodsList"); // 发起GET请求
        console.log(response);
      } catch (err) {
        onsole.log(err);
      }
    },
  },
};
</script>
<style lang="less" scoped>
.clouddesktop {
  margin-top: 24px;
  .top {
    width: 936px;
    height: 140px;
    border-radius: 8px;
    margin: 0 0 0 60px;
    background-color: #ffffff;
    .left {
      width: 732px;
      margin: 0 0 0 24px;
      font-size: 16px;
      color: #262626;
      padding-top: 28px;
      .div1 {
        margin-bottom: 24px;
      }
    }
    .right {
      width: 140px;
      height: 140px;
      background: #e6f7ff;
      text-align: center;
      line-height: 140px;
      margin-left: 40px;
      cursor: pointer;
    }
  }
  .clouddesktoprecord {
    margin: 40px 0 0 60px;
    font-weight: bold;
    font-size: 16px;
    color: #262626;
    .div1 {
      width: 12px;
      height: 24px;
      background: #1890ff;
      border-radius: 6px;
      margin-right: 16px;
      margin-top: 12px;
    }
    .name {
      height: 16px;
      font-family: MicrosoftYaHei, MicrosoftYaHei;
      margin-top: 12px;
      line-height: 24px;
      text-align: left;
      font-style: normal;
    }
    .number {
      height: 16px;
      font-size: 20px;
      margin-top: 6px;
      margin-left: 376px;
    }
    .batchdown {
      width: 120px;
      height: 40px;
      background: #ffffff;
      border-radius: 22px;
      border: 2px solid #979797;
      text-align: center;
      line-height: 36px;
      margin-left: 43px;
      font-family: MicrosoftYaHeiLight;
      font-size: 20px;
      color: #595959;
      cursor: pointer;
    }
  }
  .clouddeskdownlist {
    width: 936px;
    margin: 16px 0 0 60px;
    .title {
      width: 936px;
      height: 48px;
      background: rgba(0, 0, 0, 0.15);
      line-height: 48px;
      .div1 {
        width: 28px;
        height: 28px;
        background-image: url(@/assets/img/slected.png);
        background-size: cover;
        margin-left: 40px;
        margin-top: 10px;
      }
      .div2 {
        width: 675px;
        margin-left: 42px;
        text-align: left;
      }
      .div3 {
        cursor: pointer;
      }
    }
    .warplist {
      width: 936px;
      height: 356px;
      overflow: scroll;
      .title1 {
        background: rgba(0, 0, 0, 0.06);
      }
      .title2 {
        background: rgba(0, 0, 0, 0.02);
      }
    }
  }
}
</style>